'''
Created on Jun 28, 2012

@author: minhtuan
'''
import zipfile
import os

currentDers ='C:\Users\minhtuan\Desktop\New folder'
zf = zipfile.ZipFile('C:\Users\minhtuan\Desktop\New folder\SSHClient.zip')
APP_NAME='SSHClient'
for name in zf.namelist():
    #currentSize = f.size(currentDers+FILE)
    print name
    if  (name.endswith("/") and (name != APP_NAME)):
        print name
        if not os.path.exists(currentDers+name):
            os.mkdir(currentDers+name)